name: tests_tapi run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/bin:/opt/pyenv/bin:/tmp/venv-LOek/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PYTHONHASHSEED: 3100329353 env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONIOENCODING: utf-8 env USE_ODL_ALT_KARAF_ENV: ./karaf221.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf221 env INSTALL_TAPI: True env OLM_TIMER1: 3000 env OLM_TIMER2: 2000 env TOX_ENV_NAME: tests_tapi env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi metadata pid: 30946 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/bin/*:launch_tests.sh cmd: ./launch_tests.sh tapi exit_code: 1 using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py ..........FFFF.FFFF..FF....FF..F.F..F..F.....F.... [100%] =================================== FAILURES =================================== _________ TransportTapitesting.test_11_connect_xpdra_n1_to_roadma_pp1 __________ self = def test_11_connect_xpdra_n1_to_roadma_pp1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'XPDR-A1', 'xpdr-num': '1', 'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 204 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:280: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_11_connect_xpdra_n1_to_roadma_pp1 _________ TransportTapitesting.test_12_connect_roadma_pp1_to_xpdra_n1 __________ self = def test_12_connect_roadma_pp1_to_xpdra_n1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'XPDR-A1', 'xpdr-num': '1', 'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 204 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:290: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_12_connect_roadma_pp1_to_xpdra_n1 ____________ TransportTapitesting.test_13_check_tapi_topology_T100G ____________ self = def test_13_check_tapi_topology_T100G(self): self.tapi_topo["topology-id"] = test_utils.T100GE_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(1, len(response["output"]["topology"]["node"][0]["owned-node-edge-point"]), 'Node should contain 1 owned-node-edge-points') E KeyError: 'owned-node-edge-point' transportpce_tests/tapi/test01_abstracted_topology.py:300: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_13_check_tapi_topology_T100G _____________ TransportTapitesting.test_14_check_tapi_topology_T0 ______________ self = def test_14_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) self.assertEqual(response['status_code'], requests.codes.ok) nodes = response["output"]["topology"]["node"] > links = response["output"]["topology"]["link"] E KeyError: 'link' transportpce_tests/tapi/test01_abstracted_topology.py:312: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_14_check_tapi_topology_T0 _________ TransportTapitesting.test_16_connect_xpdrc_n1_to_roadmc_pp1 __________ self = def test_16_connect_xpdrc_n1_to_roadmc_pp1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'XPDR-C1', 'xpdr-num': '1', 'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 204 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:331: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_16_connect_xpdrc_n1_to_roadmc_pp1 _________ TransportTapitesting.test_17_connect_roadmc_pp1_to_xpdrc_n1 __________ self = def test_17_connect_roadmc_pp1_to_xpdrc_n1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'XPDR-C1', 'xpdr-num': '1', 'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 204 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:341: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_17_connect_roadmc_pp1_to_xpdrc_n1 ____________ TransportTapitesting.test_18_check_tapi_topology_T100G ____________ self = def test_18_check_tapi_topology_T100G(self): self.tapi_topo["topology-id"] = test_utils.T100GE_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(2, len(response["output"]["topology"]["node"][0]["owned-node-edge-point"]), 'Node should contain 2 owned-node-edge-points') E KeyError: 'owned-node-edge-point' transportpce_tests/tapi/test01_abstracted_topology.py:351: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_18_check_tapi_topology_T100G _____________ TransportTapitesting.test_19_check_tapi_topology_T0 ______________ self = def test_19_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) self.assertEqual(response['status_code'], requests.codes.ok) nodes = response["output"]["topology"]["node"] > links = response["output"]["topology"]["link"] E KeyError: 'link' transportpce_tests/tapi/test01_abstracted_topology.py:366: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_19_check_tapi_topology_T0 ____________ TransportTapitesting.test_22_check_tapi_topology_T100G ____________ self = def test_22_check_tapi_topology_T100G(self): > self.test_18_check_tapi_topology_T100G() transportpce_tests/tapi/test01_abstracted_topology.py:387: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def test_18_check_tapi_topology_T100G(self): self.tapi_topo["topology-id"] = test_utils.T100GE_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(2, len(response["output"]["topology"]["node"][0]["owned-node-edge-point"]), 'Node should contain 2 owned-node-edge-points') E KeyError: 'owned-node-edge-point' transportpce_tests/tapi/test01_abstracted_topology.py:351: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_22_check_tapi_topology_T100G _____________ TransportTapitesting.test_23_check_tapi_topology_T0 ______________ self = def test_23_check_tapi_topology_T0(self): > self.test_19_check_tapi_topology_T0() transportpce_tests/tapi/test01_abstracted_topology.py:390: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def test_19_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) self.assertEqual(response['status_code'], requests.codes.ok) nodes = response["output"]["topology"]["node"] > links = response["output"]["topology"]["link"] E KeyError: 'link' transportpce_tests/tapi/test01_abstracted_topology.py:366: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_23_check_tapi_topology_T0 ____________ TransportTapitesting.test_28_check_tapi_topology_T100G ____________ self = def test_28_check_tapi_topology_T100G(self): > self.test_18_check_tapi_topology_T100G() transportpce_tests/tapi/test01_abstracted_topology.py:433: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def test_18_check_tapi_topology_T100G(self): self.tapi_topo["topology-id"] = test_utils.T100GE_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(2, len(response["output"]["topology"]["node"][0]["owned-node-edge-point"]), 'Node should contain 2 owned-node-edge-points') E KeyError: 'owned-node-edge-point' transportpce_tests/tapi/test01_abstracted_topology.py:351: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_28_check_tapi_topology_T100G _____________ TransportTapitesting.test_29_check_tapi_topology_T0 ______________ self = def test_29_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) self.assertEqual(response['status_code'], requests.codes.ok) nodes = response["output"]["topology"]["node"] links = response["output"]["topology"]["link"] > self.assertEqual(5, len(nodes), 'Topology should contain 5 nodes') E AssertionError: 5 != 3 : Topology should contain 5 nodes transportpce_tests/tapi/test01_abstracted_topology.py:442: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_29_check_tapi_topology_T0 _____________ TransportTapitesting.test_32_check_tapi_topology_T0 ______________ self = def test_32_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) self.assertEqual(response['status_code'], requests.codes.ok) nodes = response["output"]["topology"]["node"] links = response["output"]["topology"]["link"] > self.assertEqual(5, len(nodes), 'Topology should contain 5 nodes') E AssertionError: 5 != 3 : Topology should contain 5 nodes transportpce_tests/tapi/test01_abstracted_topology.py:497: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_32_check_tapi_topology_T0 _____________ TransportTapitesting.test_34_check_tapi_topology_T0 ______________ self = def test_34_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) self.assertEqual(response['status_code'], requests.codes.ok) nodes = response["output"]["topology"]["node"] links = response["output"]["topology"]["link"] > self.assertEqual(5, len(nodes), 'Topology should contain 5 nodes') E AssertionError: 5 != 3 : Topology should contain 5 nodes transportpce_tests/tapi/test01_abstracted_topology.py:536: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_34_check_tapi_topology_T0 _____________ TransportTapitesting.test_37_check_tapi_topology_T0 ______________ self = def test_37_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) self.assertEqual(response['status_code'], requests.codes.ok) nodes = response["output"]["topology"]["node"] links = response["output"]["topology"]["link"] > self.assertEqual(6, len(nodes), 'Topology should contain 6 nodes') E AssertionError: 6 != 4 : Topology should contain 6 nodes transportpce_tests/tapi/test01_abstracted_topology.py:581: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_37_check_tapi_topology_T0 _____________ TransportTapitesting.test_40_check_tapi_topology_T0 ______________ self = def test_40_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) self.assertEqual(response['status_code'], requests.codes.ok) nodes = response["output"]["topology"]["node"] links = response["output"]["topology"]["link"] > self.assertEqual(6, len(nodes), 'Topology should contain 6 nodes') E AssertionError: 6 != 4 : Topology should contain 6 nodes transportpce_tests/tapi/test01_abstracted_topology.py:619: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_40_check_tapi_topology_T0 ________________ TransportTapitesting.test_46_check_tapi_topos _________________ self = def test_46_check_tapi_topos(self): self.test_01_get_tapi_topology_T100G() > self.test_02_get_tapi_topology_T0() transportpce_tests/tapi/test01_abstracted_topology.py:668: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test01_abstracted_topology.py:207: in test_02_get_tapi_topology_T0 self.assertNotIn("node", response["output"]["topology"], 'Topology should contain no node') E AssertionError: 'node' unexpectedly found in {'node': [{'uuid': 'd69d9d82-5ac7-3f21-a9ae-ba161f8b4a4c', 'layer-protocol-name': ['PHOTONIC_MEDIA'], 'name': [{'value-name': 'Node Type', 'value': 'ROADM'}, {'value-name': 'roadm node name', 'value': 'ROADM-infra'}, {'value-name': 'otsi node name', 'value': 'ROADM-infra'}], 'operational-state': 'ENABLED', 'inter-rule-group': [{'uuid': '08012c59-767b-3ddc-9bf7-8d65dd896764', 'rule': [{'local-id': 'forward', 'rule-type': ['FORWARDING'], 'forwarding-rule': 'tapi-topology:FORWARDING_RULE_MAY_FORWARD_ACROSS_GROUP'}], 'name': [{'value-name': 'irg name', 'value': 'rdm infra inter rule group-'}]}], 'administrative-state': 'UNLOCKED', 'lifecycle-state': 'INSTALLED'}], 'layer-protocol-name': ['DIGITAL_OTN', 'PHOTONIC_MEDIA'], 'uuid': '747c670e-7a07-3dab-b379-5b1cd17402a3', 'name': [{'value-name': 'TAPI Topology Name', 'value': 'T0 - Multi-layer topology'}]} : Topology should contain no node ----------------------------- Captured stdout call ----------------------------- execution of test_46_check_tapi_topos =========================== short test summary info ============================ FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_11_connect_xpdra_n1_to_roadma_pp1 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_12_connect_roadma_pp1_to_xpdra_n1 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_13_check_tapi_topology_T100G FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_14_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_16_connect_xpdrc_n1_to_roadmc_pp1 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_17_connect_roadmc_pp1_to_xpdrc_n1 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_18_check_tapi_topology_T100G FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_19_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_22_check_tapi_topology_T100G FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_23_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_28_check_tapi_topology_T100G FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_29_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_32_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_34_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_37_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_40_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_46_check_tapi_topos 17 failed, 33 passed in 772.94s (0:12:52)